package com.ruoyi.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.platform.annotation.Excel;
import com.ruoyi.platform.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 在线源码对象 tp_source_code_url
 *
 * @author tp
 * @date 2022-11-02
 */
@ApiModel(value="在线源码对象 tp_source_code_url", description="tp_source_code_url业务表")
@TableName("tp_source_code_url")
public class SourceCodeUrl extends BaseEntity<SourceCodeUrl>
{
private static final long serialVersionUID = 1L;

    /**主键ID*/
    @ApiModelProperty(value = "主键ID")
    @TableId(type = IdType.AUTO)
    private Integer id;

    /** 源码名称 */
            @Excel(name = "源码名称")
    @ApiModelProperty(value = "源码名称")
    private String name;

    /** 源码地址 */
            @Excel(name = "源码地址")
    @ApiModelProperty(value = "源码地址")
    private String codeUrl;

    /** 源码说明 */
            @Excel(name = "源码说明")
    @ApiModelProperty(value = "源码说明")
    private String description;

    /** 删除标志 */
    private Integer delFlag;

    public void setId(Integer id)
            {
            this.id = id;
            }

    public Integer getId()
            {
            return id;
            }
    public void setName(String name)
            {
            this.name = name;
            }

    public String getName()
            {
            return name;
            }
    public void setCodeUrl(String codeUrl)
            {
            this.codeUrl = codeUrl;
            }

    public String getCodeUrl()
            {
            return codeUrl;
            }
    public void setDescription(String description)
            {
            this.description = description;
            }

    public String getDescription()
            {
            return description;
            }
    public void setDelFlag(Integer delFlag)
            {
            this.delFlag = delFlag;
            }

    public Integer getDelFlag()
            {
            return delFlag;
            }

@Override
public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("codeUrl", getCodeUrl())
            .append("description", getDescription())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
        .toString();
        }
        }
